Feasibility study on Handel C for Embedded Control
نویسنده
چکیده
The control engineering group at the University of Twente creates control applications for embedded systems among others. In order to create such applications, graphical modelling tools such as 20-sim and gCSP are used to generate software for various platforms. Currently, the output of these code generating programs is ANSI C code, which rules out the use of FPGA's as a target. FPGA devices offer tailored hardware, are able to run multiple processes in true parallel and achieve speeds that can exceed even the fastest computer. This makes the FPGA a perfect platform for control applications. However, the FPGA needs a program to define its functionality, and current languages such as VHDL are not supported by the commonly used tooling. Handel-C is able to create programs for the FPGA platform using an ANSI C like programming language. Since Handel-C is based on ANSI C, it lends itself for code generation, which closes the gap between the above mentioned graphical modelling tools and the FPGA platform. This report studies the feasibility of Handel-C for embedded control by testing its abilities in: • General syntax • Controlling Hardware • FPGA support • Fixed point and floating point operations • Lending itself for code generation Through studying the manual and various tests the capabilities of Handel-C are investigated, giving a glimpse of the applications of the language. These tests prove that Handel-C has an easy syntax for those familiar with ANSI C. Hardware control, FPGA support and gCSP code generation does not provide any problems. However, due to the limited support of floating point and fixed point numbers, 20-sim code generation is not yet possible. Finally, this feasibility study gives suggestions for further projects and studies on Handel-C as an interesting language for the creation of control applications. Preface I want to thank Jan Broenink and Marcel Groothuis for providing this interesting assignment. I also want to thank them for their assistance and guidance throughout this feasibility study. Geert Jan Laanstra, thank you for obtaining and helping me install the Celoxica environment and the RC10 board. Special thanks go out to Marloes Blaauw, my girlfriend, for her support and for checking, proofreading and editing my report.
منابع مشابه
FPGA based Control of a Production Cell System
Most motion control systems for mechatronic systems are implemented on digital computers. In this paper we present an FPGA based solution implemented on a low cost Xilinx Spartan III FPGA. A Production Cell setup with multiple parallel operating units is chosen as a test case. The embedded control software for this system is designed in gCSP using a reusable layered CSP based software structure...
متن کاملLarge-scale, parallel embedded applications: a hardware design model for software engineers†
Parallel servers are becoming an important sector in the embedded systems marketplace. If software engineers are to implement the multi-algorithm applications that these servers support, then educators should provide clear design routes which inculcate system-level thinking. Pipelined Processor Farms (PPF) is one such topdown design strategy. The contemporary hardware diversity within both proc...
متن کاملLarge-scale, parallel embedded applications: A hardware design model for software engineers
Parallel servers are becoming an important sector in the embedded systems marketplace. If software engineers are to implement the multi-algorithm applications that these servers support, then educators should provide clear design routes which inculcate system-level thinking. Pipelined Processor Farms (PPF) is one such topdown design strategy. The contemporary hardware diversity within both proc...
متن کاملSynthesis and FPGA-based Implementation of Hierarchical Finite State Machines from Specification in Handel-C
The paper suggests a technique, which permits to describe modular, hierarchical and parallel algorithms in Handel-C. This opportunity has been provided by generating the required control sequences with the aid of a hierarchical finite state machine. The proposed specification in Handel-C is synthesizable and it can be translated (for example, in DK2 environment of Celoxica) to EDIF format. The ...
متن کاملHandel-C Design of a Packet Processing Device for platform-FPGAs
Handel-C is a convenient tool for high-level design for FPGAs. Platform FPGAs, with high-levels of integration are suitable as packet processing devices. An existing ATM packet-switching design has been augmented with a CAM, with a simplified control structure, by the addition of a back-pressure mechanism, and a new shared-memory buffering scheme. The paper gives details of the Handel-C impleme...
متن کامل